﻿namespace GreenIsomer.Data.Entities.Ddl {
	using System;
	using System.Xml.Serialization;

	[Serializable, XmlType("StringDefault", Namespace = Settings.Namespace)]
	public class StringDefault : DefaultValue {

		public StringDefault() { }

		[XmlAttribute("Value")]
		public string Value { get; set; }

		public override void WriteScript(DdlWriter writer) {
			writer.WriteScript("DEFAULT ");
			writer.Write(Value);
		}

	}

}